package com.cn.wanxi.dao;

import com.cn.wanxi.entity.ExamMaintainEntity;

import java.util.List;

/**
 * @Author:LLH
 * @Date:2020/3/16 9:41
 * @Description: 试题dao层
 */
public interface ExamMaintainDao {
    List<ExamMaintainEntity> findAll();//查询所有数据

    ExamMaintainEntity getById(int question_id);//查询单条数据

    int add(ExamMaintainEntity examMaintainEntity);//添加

    int del(int question_id);//删除

    int update(ExamMaintainEntity examMaintainEntity);//修改

    List<ExamMaintainEntity> findAllLevel();//难易程度

    List<ExamMaintainEntity> findAllType();//试题类型

    List<ExamMaintainEntity> findAllDirection();//试题方向

}
